﻿<%@ Page Language="C#" MasterPageFile="~/Admin/Share/Default.master" AutoEventWireup="true" CodeFile="CategoryEdit.aspx.cs" Inherits="Admin_Category_CategoryEdit" Title="无标题页" %>

<%@ Register Assembly="mybutton" Namespace="BlogLan.Web.Controls" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="body" Runat="Server">
<table>
    <tr>
        <td colspan="2">
            <asp:BulletedList ID="errors" runat="server">
            </asp:BulletedList>
        </td>
    </tr>
    <tr>
        <td>分类名称</td>
        <td>
            <asp:TextBox ID="categoryName" runat="server"></asp:TextBox></td>
    </tr>
     <tr>
        <td>上级分类</td>
        <td>
            <asp:DropDownList ID="parentId" runat="server">
            </asp:DropDownList>
        </td>
    </tr>
     <tr>
        <td>分类排序</td>
        <td>
            <asp:TextBox ID="sort" runat="server"></asp:TextBox></td>
    </tr>
    <tr>
        <td>分类图片</td>
        <td>
            <asp:FileUpload ID="photo" runat="server" /></td>
    </tr>
    <tr>
        <td>分类简介</td>
        <td>
            <textarea class="input-text id="intro" runat="server" cols="50" rows="5" style="width:auto;"></textarea>
        </td>
    </tr>
    <tr>
        <td></td>
        <td>
            <cc1:ClickOnceButton ID="save" Text="保存" AfterSubmitText="保存中..." 
                runat="server" onclick="save_Click" />
            &nbsp;<cc1:ClickOnceButton ID="cancel" Text="取消" AfterSubmitText="保存中..." 
                runat="server" onclick="cancel_Click" />
            </td>
    </tr>
</table>
<asp:HiddenField ID="hfPhoto" runat="server" Value="" />
</asp:Content>



